﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="QuanLyDDH.aspx.cs" Inherits="CungMuaC5.Account_Admin.DanhSachDDH" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div style="height: auto; width: 100%; background-color: #FFFFFF;">
            <div align="center" style="height: 50px; background-color: #444444; ">
                <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                    ForeColor="White" Text="Quản lý đơn đặt hàng"></asp:Label>
            </div>
        </div>
    <div style="background-color: #FFFFFF">
<div>
            <div style="height: 125px; width: 901px;">
                <table style="width:100%;">
                    <tr>
                        <td colspan="2">
                            &nbsp;</td>
                        <td style="width: 254px">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2">
                    <asp:Label ID="Label2" runat="server" ForeColor="#003300" 
                        Text="Người  đặt:    " Font-Bold="True"></asp:Label>
                        </td>
                        <td style="width: 254px">
                    <asp:TextBox ID="TextBox2" runat="server" Width="190px" style="margin-left: 0px"></asp:TextBox>
                        </td>
                        <td>
                    <asp:ImageButton ID="ImageButton3" runat="server" Height="22px" 
                        ImageUrl="~/Images/XemProduct.png" 
                        Width="72px" onclick="ImageButton3_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 72px">
                            &nbsp;</td>
                        <td style="width: 204px">
                            <asp:Label ID="Label24" runat="server" Text="Label"></asp:Label>
                        </td>
                        <td style="width: 254px">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
            <div align="center">
            <div align="center">
                <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" Width="755px" 
                    onselectedindexchanged="GridView2_SelectedIndexChanged1">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="STT">
                            <ItemTemplate>
                                <asp:Label ID="Label17" runat="server" Text='<%# Bind("Stt") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Sản Phẩm">
                            <ItemTemplate>
                                <asp:Label ID="Label18" runat="server" Text='<%# Bind("TenKM") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="True" ForeColor="#CC0000" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Người Đặt">
                            <ItemTemplate>
                                <asp:Label ID="Label19" runat="server" Text='<%# Bind("TenTK") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Ngày Đặt">
                            <ItemTemplate>
                                <asp:Label ID="Label20" runat="server" Text='<%# Bind("NgayDat") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Số Lượng">
                            <ItemTemplate>
                                <asp:Label ID="Label21" runat="server" Text='<%# Bind("SoLuong") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Đơn Giá">
                            <ItemTemplate>
                                <asp:Label ID="Label22" runat="server" Text='<%# Bind("DonGia") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tổng tiền">
                            <ItemTemplate>
                                <asp:Label ID="Label23" runat="server" Text='<%# Bind("TongTien") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Duyệt">
                            <ItemTemplate>
                                <asp:CheckBox ID="CheckBox1" runat="server" 
                                    Checked='<%# Bind("TinhTrang") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="MaDH" 
                            DataNavigateUrlFormatString="~/Account_Admin/QuanLyDDH/DDH_Sua.aspx?ma={0}" 
                            Text="Sửa" />
                    </Columns>
                    <EditRowStyle BackColor="#7C6F57" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#E3EAEB" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F8FAFA" />
                    <SortedAscendingHeaderStyle BackColor="#246B61" />
                    <SortedDescendingCellStyle BackColor="#D4DFE1" />
                    <SortedDescendingHeaderStyle BackColor="#15524A" />
                </asp:GridView>
                <br />
            </div>
                <br />
            </div>
</div>
    </div>
    <div align="center" style="color: #FFFFFF; background-color: #FFFFFF;">
        <asp:ImageButton ID="ImageButton4" runat="server" 
            ImageUrl="~/Images/Member/CapNhatButton.png" Width="104px" 
            onclick="ImageButton4_Click" 
            PostBackUrl="~/Account_Admin/QuanLyDDH/QuanLyDDH.aspx" />
    </div>
<br />
</asp:Content>
